﻿<%@ Page Language="C#" MasterPageFile="~/MainPage.master" AutoEventWireup="true" CodeFile="DodajZdj.aspx.cs" Inherits="DodZdj" Title="Untitled Page" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    &nbsp;&nbsp;
    <br />
    <asp:Label ID="NameLabel" runat="server" Text="Nazwa zdjecia"></asp:Label>
    <asp:TextBox ID="NameTextBox" runat="server"></asp:TextBox>
    <asp:FileUpload ID="FileUpload1" runat="server" /><br />
    <center><asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Dodaj" /><br />
    <asp:Label ID="ResultLabel" runat="server" Text="Label" Visible="False"></asp:Label><br /><br />
        <asp:HyperLink ID="ReturnHyperLink" runat="server">Zobacz tą galerię</asp:HyperLink>
        <asp:HyperLink ID="MainGalHyperLink" runat="server" NavigateUrl="~/GalerieUzytkownikow.aspx">Wróć do listy galerii</asp:HyperLink></center>
    <asp:SqlDataSource ID="DodajDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ZALSConnectionString %>"
        SelectCommand="SELECT * FROM [ZDJECIA]"></asp:SqlDataSource>
</asp:Content>

